body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
  }
  .serch {
      background-color: white;
    max-width: 540px;
    min-width: 320px;
    position: fixed;
    top: 0px;
    width: 100%;
    height: 42px;
    border-top: 1px solid #cad1d4;
    border-bottom: 1px solid #cad1d4;
    display: flex;
    .serch_context {
        flex: 1;
        height: 42px;
        display: flex;
        align-items: center;
        .serch_text {
            box-sizing: border-box;
            font-size: 12px;
            height: 24px;
            line-height: 22px;
            width: 100%;
            margin-left: 10px;
            margin-right: 5px;
            padding-left: 24px;
            border: 1px solid #cad1d4;
            border-radius: 3px;
            color: #939393;
            box-shadow: 0 1px  3px #939393;
            position: relative;

            &::before{
                position: absolute;
                display: block;
                content: "";
                left: 6px;
                top: 6px;
                width: 14px;
                height: 14px;
                background: url(../images/sprite.png) -60px -280px no-repeat;
                background-size: 104px auto;
            }
          }
      }
      .serch_user {
        width: 44px;
        height: 42px;
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
        align-content: space-between;
        span:first-child {
            margin-top: 5px;
            padding: 0;
            display: block;
            width: 23px;
            height: 23px;
            background: url(../images/sprite.png) -59px -194px no-repeat;
            background-size: 104px auto;
          }
          span:nth-child(2) {
            margin-top: -10px;
            padding: 0;
            font-size: 12px;
            color: #099fde;
          }
      }
      
  }

  .focus{
      font-size: 0px;
      width: 100%;
      margin-top: 44px;
      >img{
          width: 100%;
      }
  }

  .local-nav{
    border-radius: 10px;
    background-color: white;
    padding: 0px;
    margin: 8px 5px 0 5px;
    width: calc(100% - 10px);
    display: flex;
    list-style: none;
    >li{
        width: 20%;
        display: flex;
        flex-direction: column;
        align-items: center;
        >span:first-child{
            display: block;
            width: 32px;
            height: 32px;
            margin-top: 8px;
        }
        >span:nth-child(2){
            margin-bottom: 9px;
        }
    }
    >li:first-child>span:first-child{
        background: url(../images/localnav_bg.png) 0 0 no-repeat;
        background-size: 32px auto;
    }
    >li:nth-child(2)>span:first-child{
        background: url(../images/localnav_bg.png) 0 -32px no-repeat;
        background-size: 32px auto;
    }
    >li:nth-child(3)>span:first-child{
        background: url(../images/localnav_bg.png) 0 -64px no-repeat;
        background-size: 32px auto;
    }
    >li:nth-child(4)>span:first-child{
        background: url(../images/localnav_bg.png) 0 -96px no-repeat;
        background-size: 32px auto;
    }
    >li:nth-child(5)>span:first-child{
        background: url(../images/localnav_bg.png) 0 -128px no-repeat;
        background-size: 32px auto;
    }
  }

  .nav{
    box-sizing: border-box;
    border-radius: 10px;
    margin: 8px 5px 0 5px;
    width: calc(100% - 10px);
    height: 270px;
    color: white;
    overflow: hidden;
    >div{
        box-sizing: border-box;
        height: 90px;
        width: 100%;
        display: flex;
        >div:first-child{
            height: 88px;
            width:calc(33% - 2px);
            border: solid 1px #fdd1c8;
            >div{
                width: 100%;
                margin-top: 13px;
                text-align: center;
            }
            >div:nth-child(2){
                width: 140px;
                height: 53px;
                margin: 0 auto;
               >img{
                   width: 100%;
                   height: 100%;
               }
            }
        }
        >div:nth-child(2){
            width: 67%;
            height: 90px;
            display: flex;
            flex-wrap: wrap;
            >div{
                height: 43px;
                width:calc(50% - 2px);
                text-align: center;
                line-height: 43px;
                border: solid 1px #fdd1c8;
            }

        }
    }

    >div:first-child{
        background:linear-gradient(to right,#fa504b ,#fa9a51) ;

    }
    >div:nth-child(2){
        background:linear-gradient(to right,#4b92ed ,#49b8ed) ;
    }
    >div:nth-child(3){
        background:linear-gradient(to right,#49c8b1 ,#6fd65d) ;
    }
    
  }

  .subnav_entry{
    border-radius: 10px;
    box-sizing: border-box;
    background-color: white;
    margin: 2px 5px 4px 5px;
    width: calc(100% - 10px);
    display: flex;
    flex-wrap: wrap;
    >div{
        width: 20%;
        display: flex;
        flex-direction: column;
        align-items: center;
        >span:first-child{
            margin-top: 8px;
            display: block;
            width: 27px;
            height: 21px;
            background: url(../images/subnav-bg.png) 0 0 no-repeat;
            background-size: 27px auto;
        }
    }
  }

  .sales{
    margin: 0 5px 55px;
    width: calc(100% - 10px);
    >.sales_hd{
        width: 100%;
        height: 60px;
        border-top: solid 1px #dedede;
        border-bottom: solid 1px #eaeaea;
        background: url(../images/hot.png) 0 -18px no-repeat;
        background-size: 71px 52px;
        
        >div{
            width: 130px;
            height: 28px;
            background:linear-gradient(to right,#fa504b ,#fa9a51) ;
            float: right;
            margin-top: 18px;
            margin-right: 10px;
            color: white;
            border-radius: 14px;
            text-align: center;
            line-height: 28px;
        }
    }
    >.sales_box{
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        >div{
            border: solid #dedede 1px;
            width: calc(50% - 2px);
            font-size: 0px;
            >img{
                width: 100%;
                height: 100%;
            }
        }
    }
  }

  .bottom{
      margin: 0px;
    padding: 0px;
    background-color: white;
    max-width: 540px;
    min-width: 320px;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    display: flex;
    list-style: none;
    >li{
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        >span:first-child{
            display: block;
            width: 25px;
            height: 25px;
            background: url(../images/tabbar.png) -6px -3px no-repeat;
            background-size: 35px auto;
        }
    }

    >li:nth-child(2)>span:first-child{
        background: url(../images/tabbar.png) -5px -41px no-repeat;
        background-size: 35px auto;
    }
    >li:nth-child(3)>span:first-child{
        background: url(../images/tabbar.png) -5px -76px no-repeat;
        background-size: 35px auto;
    }

    >li:nth-child(4)>span:first-child{
        background: url(../images/tabbar.png) -5px -110px no-repeat;
        background-size: 35px auto;
    }
    
  }